cmake_minimum_required(VERSION 3.0)
project(chat)

set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -g)

# 设置编译生成的可执行文件的位置
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
# 设置要包含的头文件路径
include_directories(${PROJECT_BINARY_DIR}/include)
include_directories(${PROJECT_BINARY_DIR}/include/server)
# include_directories(${PROJECT_BINARY_DIR}/include/clinet)

# 设置要包含库文件的路径
link_libraries(${PROJECT_BINARY_DIR}/thirdparty)

add_subdirectory(./src)





